Brief: This detailed article shows you how to dual boot Ubuntu with Windows 10, step-by-step, accompanied with proper screenshots.
Previously I had written about dual booting Ubuntu Linux with Windows 7 and 8, but those tutorials did not cover systems that come with Windows 10 pre-installed. The newer systems that come with Windows 8 or Windows 8.1, have UEFI instead of BIOS. This makes thing a little different from the conventional way of dual booting.
In this tutorial, we shall see how to install Ubuntu with Windows 10 already installed.
This tutorial is performed on a newly bought Dell Inspiron 7437 that has Core i7 fourth generation processor, 256 GB SSD, 8 GB RAM and built in 1 GB Intel graphics. I’ll cover all the steps you need to do in order to successfully dual boot Linux with Windows 10 UEFI. If you have already done some of these steps, just skip to the next one. If you have a fresh system, even better.
The steps mentioned here are applicable to other Ubuntu based Linux distributions such as Linux Mint, Elementary OS etc. Cutting the chit-chat, let’s see how to dual boot Linux on a UEFI secure boot enabled Windows 10 system.
Dual boot Ubuntu with Windows 10 and Windows 8.1:
Though I have used Ubuntu 14.04 here, it is applicable to all versions of Ubuntu, be it Ubuntu 15.10 or Ubuntu 16.04. There are various prerequisites to install Ubuntu on a UEFI system. I’ll list them for easier read here:
- Ubuntu ISO burned to a USB or DVD (we’ll see it)
- Windows backup (optional)
- Windows 10 bootable USB (optional yet recommended as it will save your day if anything goes wrong)
Let’s see the steps of installing Ubuntu along side Windows 10.
Step 1: Make a backup [optional]
It is always nice to make a back up, just in case if you mess up with the system. There are numerous articles on the web to show you how to backup your system. You can follow this tutorial here.
Step 2: Create a live USB/disk of Ubuntu
The next thing you need to do is to create a live USB or disk. I recommend Universal USB Installer to create a live USB of Linux OS in Windows.
Step 3: Make a partition where Ubuntu will be installed
Assuming tat you have a fresh system, the first thing we need to do is to make a partition to install Linux. The 256 GB in my system was already had several partitions from manufacturer but mainly for backup and other purposes. Main partition was C drive, of around 220 GB, where Windows 8.1 was installed.
If you have just one partition like this, you need to make some free space out of it for Linux. If you have several partitions of considerable size, use any of them except C drive because it may erase the data.
To make a partition in Windows 8, go to Disk Management tool. You can find disk management tool by searching for ‘disk’ in Control Panel.
In the Disk Management tool, right click on the drive which you want to partition and select shrink volume. In my case, I shrank the C drive to make some free space:
You can leave the free space as it is. We shall use it while installing Ubuntu.
Step 4: Disable fast startup in Windows [optional]
Windows 8 introduced a new feature called “fast startup” for quick boot. While it is not mandatory, it would be better to have it disabled.
Go to Control Panel > Hardware and Sound > Power Options > System Settings > Choose what the power buttons do and uncheck the Turn on fast startup box.
Step 5: Disable secureboot in Windows 10 and 8.1
This is the most important step. The new secure boot feature of Windows 8, originally intended for security feature for rootkit viruses, prevents dual booting of Windows with Linux. To dual boot Windows 8 with Linux, we must disable secure boot in UEFI.
Step 6: Installing Ubuntu along with Windows 10, 8.1
Once you have disabled secure boot, it’s time to install Ubuntu. I hope you already created the live USB as mentioned in step 2. Plug in the USB and boot the system from it.
To boot from USB, will have to choose boot from USB option from within Windows itself. Either with PC Setting (like for UEFI) or pressing shift key while clicking on Restart.
Once you have booted in the live USB, you will be presented with option to try or install Ubuntu. Click on install. You will be presented with few screen options to choose the language. It will then do some checks on available space, power and internet connection etc. Just click on Continue.
The main screen which you should pay attention to is Installation Type. Choose Something else here:
Remember we had created some free space beforehand? We shall use the free space to create Root, Swap and Home. Select the free space and click on the + sign.
It will provide you with option to create Linux partition. We are creating the Root partition. Any thing above 20 GB is more than sufficient for it. Choose the size, select Ext 4 as file type and / (means root) as the mount point.
Clicking on OK in previous step will bring you to the partition screen. Next we will create swap. Like previously, click on the + sign again. This time use the file type as Swap area. Suggestible swap size is double of RAM.
In similar fashion, create a Home partition. Allocate it maximum space (in fact allocate it rest of the free space) because this is where you’ll save music, pictures and downloaded files.
Once you are ready with Root, Swap and Home, click on Install Now:
Well, you have almost won the battle. You can smell victory now. Next you will be asked to set username password etc. Basically, you just need to click next now.
Once the installation is completed, restart the computer, you should be welcomed by a purple grub screen. Enjoy Ubuntu along with Windows 10 in dual boot mode.
Note: If after installing Ubuntu, you boot directly in Windows, check in UEFI settings for changing the boot order.
I hope this guide helped you to dual boot Ubuntu with Windows 10 UEFI. If you want to reverse the process, follow this guide to remove Ubuntu from dual boot with Windows. Though this article is written for Ubuntu, it should be helpful for other Linux OS as well. Any questions or suggestions are always welcomed.
This comment is awaiting moderation
Hey, thanks for this awesome post. I dualbooted my laptop following the above steps and am using it for quite some time. (As of now Windows 10+Ubuntu 20.04 in HDD). I am not installing a new Samsung Evo 860 500 gb m.2 ssd on top of the hdd. I will definitely clone windows on the hdd but the main purpose is to use Ubuntu on it too. I want to do a clean install and hence will remove ubuntu before installing the ssd. I wanted to ask will windows allow me to make partition on the ssd? And should I make partitions on the ssd beforehand and later on clone windows on one of the partitions and install new ubuntu on the other partition?
This comment is awaiting moderation
Hello Parth,
“will windows allow me to make partition on the ssd”
I don’t see a reason why it should not. It’s a disk after all. I hae never cloned Windows so I cannot suggest anything on that front. Normally, if you have ESP+ Windows partitions, you should be able to install Linux without much of a trouble.
This comment is awaiting moderation
I currently use Windows 7 on one HDD and Ubuntu on another HDD. I want to add a third HDD and install Windows 10 pro. Currently I am booting the systems throught the GRUB bootloader. and I wish to keep this also after installing Windows 10. Does anyone know the right procedure without risking to lose anything?
This comment is awaiting moderation
What is the minimum space for the root partition. Is 10gb enough?
This comment is awaiting moderation
Can you up it to 15 or 20 GB? 20 GB is much more comfortable disk size.
This comment is awaiting moderation
Hi, I am a windows 10 user and my system is Dell Inspiron 15. I was attempting to dual boot my system with ubuntu but my bootable usb wasn’t detected. I have followed the instructions shared above but still I don’t see boot from USB in my boot menu option. Can you please help me identify what the problem could be? Thanks is advance.
This comment is awaiting moderation
Hi,
Could you try using a tool like Rufus for creating the live USB?
This comment is awaiting moderation
Hi Abhishek, I just followed the instruction and installed Ubuntu 20.04.1 LTS however the laptop boots up in Windows 10 without any option to boot into Ubuntu. I am newbie and do not get much technical side of things – is there anything you could help explain in simple language as to how I can fix the issue please ?
This comment is awaiting moderation
Could you please check the BIOS settings and the boot order? Do you see anything about Ubuntu here?
This comment is awaiting moderation
Yes, see below is the ‘UEFI Boot Order’
USB Flash Drive/USB Hard disk
OS boot manager
USB cd/dvd rom drive
! network Adapter
Secure boot is disabled.
This comment is awaiting moderation
Hi Abhishek- any suggestion to troubleshoot based on below boot order information please ?
This comment is awaiting moderation
go to bios menu and go to boot options then you’ll see the option that allows you to change boot order. Device in the 1st order will boot.
This comment is awaiting moderation
I already installed Ubuntu as a fresh install (removing Win 10) in my SSD, now I want to install Win 10 as a dual boot and I have an additional hard drive for this purpose. What are the steps to follow since I heard that installing Win10 in a Ubuntu system is trickier than the above article.
This comment is awaiting moderation
The main problem will be the boot settings. Most likely, you’ll have to repair the boot.
This comment is awaiting moderation
Excellent article, Abhishek. Thanks
PS. I am more into Sherlock Homes
This comment is awaiting moderation
Sherlock Holmes is evergreen. I have read many of his stories and watched various TV and movies adoptions :)
This comment is awaiting moderation
What should do if I don’t have UEFI? Should Include some additinal steps or skip some mentioned step?
This comment is awaiting moderation
Disable secureboot in Windows 10 and 8.1
This is the most important step. The new secure boot feature of Windows 8, originally intended for security feature for rootkit viruses, prevents dual booting of Windows with Linux. To dual boot Windows 8 with Linux, we must disable secure boot in UEFI.
This comment is awaiting moderation
https://itsfoss.community/t/dual-boot-after-installing-the-ubuntu-i-am-directly-booting-into-windows/5730
Check my comment with id – TypeHrishi_1348
This comment is awaiting moderation
Hi All,
I install the ubuntu but after installing it directly booting into a windows.
When I checked BIOS setting i am not able to see the Ubuntu option in boot sequence.
Please input will be very helpful.
This comment is awaiting moderation
same thing i could not get a window to choose either windows or ubuntu rather it drops me down to windows automatically.what to do next?
This comment is awaiting moderation
Yes l love Agatha’s books
This comment is awaiting moderation
Hello! After performing step 5 with windows 10 I got to the grub rescue with the no such partition error.
This comment is awaiting moderation
That’s not very good. You may try this: https://itsfoss.com/solve-error-partition-grub-rescue-ubuntu-linux/
This comment is awaiting moderation
I am having a problem. I dual booted ubuntu with windows 10, but the problem creeps in when i try to boot windows 10 it gives me a broken screen with lines on it, after that windows boots normally but can you tell me how to get rid of this problem.
This comment is awaiting moderation
Hi all,
I have a dualboot with Ubuntu and Windows 10.
A few weeks ago I updated Ubuntu 18.x after long time.
There were errors so I stopped the updating with cancel.
Since then my 3T harddrive, encrypted with bitlocker, dissapeared both in Ubuntu and in Win 10.
Now it is getting worse. I can only get into Win 10 with a recovery usb stick.
I have upgraded Ubuntu to 20.but the HDD does not show.
I have motherboard from MSI Krait gaming Z170A 3x ms7A1. In the boot setup/boot order of this motherboard the Harddisk has gone.
I have been looking on internet and Youtube for a solution. Is there anyone that knows how to solve this?
This comment is awaiting moderation
This worked perfectly for me, thank you for the clear instructions!
This comment is awaiting moderation
I thought I had to install the Ubuntu boot loader in the same device as the root to avoid messing up with the windows boot loader. Am I wrong ?
This comment is awaiting moderation
If it’s EFI, the bootloader is in ESP partition.
This comment is awaiting moderation
I mean like,why do I have to get inside the BIOS when I trt to use Linux os or windows os? How to fix this?
This comment is awaiting moderation
Hello,I’m Irfan,I got a problem on Install dual boot Linux and Windows. The problem is,If I want to get in on the linux os,I have to change on my BIOS system to the Legacy priority boot,and If I want to get in Windows Os,I have to do that too. Idk where am I doing wrong while I Install. The partition that I’ve made when install linux is,the home partition,swap,and the last is root. I used to choose which one os that I’m gonna use when I turn on my laptop,but idk for now.
This comment is awaiting moderation
In the step after you choose the root partition, when selecting the swap partition, you don’t say which one to select to add for swap? I used the free space that was originally partitioned from the C drive, but I don’t have any other free space partitions available while installing to add swap to that have room for double my ram size.
This comment is awaiting moderation
When you select the free space partition for root, you specify the size. Remaining part of the free space partition will be available for swap and home.
This comment is awaiting moderation
I have Legacy BIOS and not UEFI. Do i still need to dsable secureboot?
This comment is awaiting moderation
No.. no need for you.
This comment is awaiting moderation
So easy to follow. Brilliant way to start using ubuntu. No hassles or hiccups if followed as instructed. Really enjoyable to see whats supposed to happen, actually happen on the first try. I suppose there is a first time for everything. :)
Thank you! Thank you! Thank you!
This comment is awaiting moderation
Which device to choose for bootloader installation before clicking on install now?
This comment is awaiting moderation
If your system is UEFI, there should already be an ESP partition. Ubuntu automatically recognizes this partition and usually, you don’t need to do anything here.
This comment is awaiting moderation
With “If after installing Ubuntu, you boot directly in Windows, check in UEFI settings for changing the boot order.”, what should I change? Because I’ve made all the steps and in the boot order there is only “windows boot manager” and my HD, USB, etc.
I tryied again some times, but the result was the same, only boot to windows, it’s like if i did not install ubuntu.
I have a Acer E5-573g-58B7
This comment is awaiting moderation
Hi! It is possible to install ubuntu like you suggest but directly from windows? I’m thinking to use a disk ISO image instead of a USB drive or DVD.
This comment is awaiting moderation
I don’t think so. Ubuntu had a too called Wubi or something that allowed installing Ubuntu from within Windows. It was discontinued several years ago. Now, a USB or DVD is the only way to go forward.
This comment is awaiting moderation
One more question. I’m currently on Win 10 HOME. I read in the comment on disabling UEFI secure boot tutorial, that after disabling the UEFI secure boot the drive got BitLocked?? Quick Google search says Win 10 Home doesnt have BitLocker though. Do i still have to worry about this? Is there any alternative to disabling the UEFI that is guaranteed safe?
This comment is awaiting moderation
Bitlocker is disk encryption tool and may not be available for everyone.
This comment is awaiting moderation
Hello, Sir. Thanks for the great tutorial.
I have a question since i don’t quite understand about partitions. I have a 1 TB HDD and when i bought this laptop, the store guy divided it into 3 drives (C, D and E) with Windows in the C drive and D & E left empty.
My question is, do i have to erase one of those partitions (D or E) to make a free space for later to create a partition like you showed in step 6, OR can i just install the Linux in one of those empty drives?
This comment is awaiting moderation
You may shrink one of the D or E (or even erase them) to make some free space for installing Linux.
This comment is awaiting moderation
Oh, I see. Thanks for the quick answer!
This comment is awaiting moderation
Just to clarify things here for an inexperienced and first time dual-booter.
I currently have my workstation running Windows 10. I’d like to have a version of Ubuntu natively installed as dual boot.
Is it possible for me to buy a new hard disk (HDD/SSD, internal/external), or simply a 256GB USB stick to install and use Ubuntu natively on?
Furthermore, if at some point I do not have the need for Ubuntu anymore, is it then possible to completely remove it (assumed using this guide: https://itsfoss.com/uninstall-ubuntu-linux-windows-dual-boot/) without there being any consequences?
My biggest concern is to ruin any part of my current computer, or windows, as a result of doing this on my primary computer.
This comment is awaiting moderation
Yes.. that’s possible. See, keeping backup of your important data on an external disk is always helpful. Apart from that, unless you delete wrong partition, things should be fine and even in case where there is a boot problem (in rare cases), you can revert to windows by deleting Ubuntu partition.
This comment is awaiting moderation
I am having problem with dual booting linux in my lenovo gaming laptop. My system in crashing when proceeded from installing ubuntu from boot menu. Please tell a solution for this. But it is not crashing in legacy mode (only crashing in EUFI mode). However I want to boot in EUFI mode. Waiting for your answer.
Thank you !
This comment is awaiting moderation
Do you have a system with EFI?
This comment is awaiting moderation
I have dual booted following your steps. but now my usb is showing only 2.37 mb free of 2.38 mb. My usb is 32 gb storage. When i saw the disk management section there’s an entire space unallocated leaving 2.38 mb space. so i’m confused what to do at this point. pls help.
This comment is awaiting moderation
I guess you used Etcher. If you have Ubuntu, you can use the Disks tool to delete the partition on the USB and create a new one.
This comment is awaiting moderation
Hi Abhishek,
What kind of partitioning would you suggest to someone with 250 gb ssd and 1 tb hdd ?
Some less important doubts I had –
1. Some tutorials on the internet mention creating a /boot/efi system partition as well for uefi mode. Why wasn’t it required for this tutorial?
2. Also, it is mentioned that the swap partition and efi partition should be at the beginning or end of the disk to enhance access time though in this tutorial you have defined partitions in the order root, swap, home. Would love to know your opinion regarding this.
3. Different tutorials seem to be using different partition types – logical partition vs primary partition (it would be great if you could share your insight)
Some of the links I have referred –
1. https://askubuntu.com/questions/1166128/dual-booting-windows-10-and-ubuntu-on-128-gb-ssd-and-1tb-hdd-drive-what-is-the?answertab=votes#tab-top
2. https://askubuntu.com/questions/183576/what-would-be-a-good-partitioning-scheme-for-128-gb-ssd-and-640-gb-hdd?rq=1
3. https://askubuntu.com/questions/581902/how-to-efficiently-partition-a-single-windows-ubuntu-dual-boot-disk/581906#581906
4. https://askubuntu.com/questions/985906/dual-boot-win-10-ubuntu-ssdhdd
5. https://help.ubuntu.com/community/DiskSpace
6. https://askubuntu.com/questions/461394/how-to-partition-ssdhdd
I would be really grateful if you could help. Thanks a lot!
This comment is awaiting moderation
Hello,
You are aiming for a dual boot with Windows on EFI system. This means that you already have EFI partition for booting Windows. So you don’t need another EFI partition.
It is not necessary to have swap at the beginning. In fact, Ubuntu nowadays use swapfile inside root partition.
Logical partition is for MBR partitioning scheme where you have limit of 4 primary partitions.
This comment is awaiting moderation
After the SSD upgrade on my Dell 7572, can’t install Ubuntu along with Windows for dual boot due to Intel rst. Followed steps mentioned in Ubuntu site but still doesn’t work. As soon I change from rst to ahci, system tries to correct the changes made in BIOS and doesn’t boot. Any help please.
This comment is awaiting moderation
try to backup your files and change to ahci then, reinstall windows alongside with ubuntu…
This comment is awaiting moderation
I have Ubuntu 18.04. How can I install a dual boot Windows 10 Pro…?
This comment is awaiting moderation
Why when I boot my laptop it takes me straight into Windows? How do I actually boot into my newly installed Ubuntu?
This comment is awaiting moderation
disable secure boot system. You will get video about this on youtube. If it doesnot help look for another solution like – Ask google the same question that you asked here.
This comment is awaiting moderation
I have two different SSD.
I want to install Ubuntu on another SSD and NOT have bootloader on my Windows 10 SSD.
May I apply this with what I want ?
This comment is awaiting moderation
After I create the partitions, am I able to remove the USB? Additionally, Do I need the USB every time I boot with Linux?
This comment is awaiting moderation
Once you have installed Ubuntu, restart the computer and remove the USB. You don’t need the US every time because you have installed it on your hard disk/SSD.
This comment is awaiting moderation
this method did not work for me because i am MBR/bios based and the mbr cannot support more than 4 partitions. including windows 10/sys reserve. can the ubuntu sub-partitions be made logical instead of primary.
This comment is awaiting moderation
Yes…. you can use those partition as logical.
This comment is awaiting moderation
Thank you for this, this worked like a charm
This comment is awaiting moderation
Didn’t work for me.
Aspire E5-532
This comment is awaiting moderation
In the YouTube video you have mentioned to use “logical” as the option for “Type for the new partition” but in the blog u mentioned as primary wh one should I select.
This comment is awaiting moderation
If you have GPT partitioning scheme, you can use primary without second thought.
In the old MBR partitioning, you cannot have more than 4 primary partitions and hence you have to resort to logical partition if you need more than 4 partitions.
This comment is awaiting moderation
Is there a way to install Ubuntu such that Windows 10 boots to its boot manager, lists the available OS (i.e., Windows 10, Windows 7, Ubuntu) and boot directly to Ubuntu desktop without having to go through GRUB? Since I don’t use Ubuntu that often, I’d like Windows 10 as the main boot manager but can’t figure out how to bypass GRUB all together and just boot directly to Ubuntu desktop from Windows boot manager.
This comment is awaiting moderation
Sounds like you want to add Ubuntu to the Windows boot manager, which should be possible using the BCDEDIT utility. See https://askubuntu.com/questions/744697/i-need-to-see-the-bcdedit-for-a-windows10-ubuntu-install-both-by-wubi-and-by-sep
After you’ve got that tested and verified, you can change you machine’s UEFI firmware settings to boot into the windows boot manager instead of GRUB
This comment is awaiting moderation
Sir. I got a new Acer Aspire 3 laptop with 1TB HDD Intel 10th generation 64 bit with Windows 10 preloaded. I have disabled secure boot. I have disabled fast startup. I have checked that it is UEFI and GPT. Now when I try to dual boot with USB stick of Ubuntu 20.04 using Rufus done using GPT UEFI Non CSM mode, the hard disk itself is not detected for installation. So I am really confused how to go further. Many complex methods with RAID and grubexe files method seem to be dangerous to me as I will loose Windows in case of wrong steps. Please help me. Hopefully as lapop is new I don’t have any personal data to backup. And I have also created bootable Windows 10 USB drive as a safeguard.
This comment is awaiting moderation
try using balena etcher to create the bootable media
This comment is awaiting moderation
How can I increase the memory again after installation?
This comment is awaiting moderation
Memory? You mean hard disk space? For which one? Windows or Linux?
This comment is awaiting moderation
For Linux…How to do That?
This comment is awaiting moderation
After installing ubuntu, in restarting, it doesnot show grub. It just goes into windows 10. What should I do?
This comment is awaiting moderation
I have the exact same issue. the install goes fine.. but when you reboot… all I see is windows 10.. no boot loader to let you pick windows or ubuntu
This comment is awaiting moderation
tried to restart with shift pressed? gives you a “secret” menu with a point, loosly translated, “use device”. this gives you a screen where you can choose ubuntu, win, and some repair modes. it´s choppy but works for me, for now
This comment is awaiting moderation
After the shrinking the volume and making unallocated space, it then shows as “unusable” when installing Ubuntu instead of showing “free space” as your example. Any ideas?
This comment is awaiting moderation
I had the same problem it’s because you have maximum amount of partitions on you drive.
This comment is awaiting moderation
So what is the solution for this ?
This comment is awaiting moderation
Remove some partitions
This comment is awaiting moderation
If I look at the windows 10 boot config… I see
windows 10 (C:windows): Current OS; Default OS
and nothing else…. shouldn’t I see my new ubuntu partition in there?
This comment is awaiting moderation
I have a new-ish Dell 7591 2-in-1 laptop.
I sort of followed the tutorial… I used 1 big / partition and not a /root, / and swap.
I have a 500gb SSD drive. I shrank my main C: drive and have around 200gb in the p7 partition on the SSD drive.
I installed Ubuntu LTS 18 onto that p7 partition.
After the install it says to remove the usb install media and reboot. No matter what I seem to try.. the system just reboots to windows 10. I’ve tried to use F12 and select Ubuntu ( and the system give a loud beep and goes into some sort of diagnostics mode ) windows boot manager which just boots windows 10 and the UEFI drive that F12 shows and that boots windows 10.
I tried to re-install Ubuntu and the install said that it found my Ubuntu install and asked me if I wanted to install over that.
I am missing how the windows boot manager is supposed to see this p7 partition and boot off of it.
Is there a ‘grub.cfg’ like file for windows that should have been updated to boot off of the new ubuntu partition that was created?
– jack
This comment is awaiting moderation
Try uninstall and then reinstall.
This comment is awaiting moderation
I just did a Dual boot installation of Ubuntu 20.04 LTS on a Lenovo laptop with Windows 10, with one SSD.
There were no problems during the whole process.
I am grateful to Mr. Abhishek Prakash for posting the detailed instructions.
This comment is awaiting moderation
Thank you very much. Article helps me.
This comment is awaiting moderation
in uefi bios there is different partition for efi which contains the bootloader. I tried installing debian but it doesn’t install grub. and also if the sata mode is set to RST(rapid storage technology) it will not show the ssd in the disk management during the installation
This comment is awaiting moderation
i was bit of confused i will need extra help about the instalation type and the create partition
This comment is awaiting moderation
previously i learned how to dualboot ubuntu with windows from itsfoss and managed to setup. but this time i seem to cannot setup because the unallocated space is “unusable”
This comment is awaiting moderation
Thank you very much.
I tried many times unsuccessfully until following your “How to”.
This comment is awaiting moderation
Glad you found it useful. Enjoy Linux and do visit the website regularly for Linux tips and tutorials :)
This comment is awaiting moderation
Excellent guide. Really helpful. Thank you very much
This comment is awaiting moderation
You are welcome, Arvind.
This comment is awaiting moderation
I can’t boot the USB. I followed this and other tutorial to make my USB bootalbe but it does nothing. It doesnt appear when i restart windows
This comment is awaiting moderation
I had a similar problem, the boot menu didn’t detect the USB, I had to format the USB into a compatible file format since it was in NTFS, when I formatted it as FAT32 the boot menu detected it properly.
This comment is awaiting moderation
Hey i can boot to both Windows and Ubuntu but i have to change the boot priority order from the BIOS to ubuntu or Windows Boot Manager
I don’t get a purple GNU GRUB screen at startup to choose a OS..Please help
This comment is awaiting moderation
Enter the ubuntu again using the previous tools used to install. then try to go to any other partition and open terminal. type sudo update-grub and that’s should be fine
This comment is awaiting moderation
tell me what is the best for ssd 500gb shrink
This comment is awaiting moderation
From the partitioning screenshots, you have made three primary partitions. It may not works fine if there is more than one another primary partition for Windows. In other words, suppose that disk have C and D drives and each of them is primary drive!
This comment is awaiting moderation
Yes, that’s true. But MBR partitioning is not that common in newer systems.
This comment is awaiting moderation
I’m shrinking my C partition and I’m giving Ubuntu 150GB. So should I all the empty space to be EFI? then star installing the Ubuntu following your instructions? Will that work?
This comment is awaiting moderation
Hi, I’ve followed the instructions you give but still it’s booting in to windows without the purple grub screen! Any help?
This comment is awaiting moderation
Please look into your boot settings. Do you see more than one boot options (like Windows and Ubuntu)?
This comment is awaiting moderation
No
This comment is awaiting moderation
That means it didn’t add the boot entry. Does your system use EFI? Is there a EFI/ESP partition?
This comment is awaiting moderation
I’ve created a partition but it’s now EFI.
This comment is awaiting moderation
Sorry not EFI
This comment is awaiting moderation
Hi, you Said (If after installing Ubuntu, you boot directly in Windows, check in UEFI settings for changing the boot order.) change the boot order to what? I’m installing it on the same hard drive where WND10 is installed?
This comment is awaiting moderation
In the boot settings in BIOS, if you see both Windows or Ubuntu, you may change it to Ubuntu.
This comment is awaiting moderation
When I make the first partition it tells me that the remaining drive space is unuable and it won’t let me make more partitions on it. How can I fix that?
This comment is awaiting moderation
i think one change is make the drives as LOGICAL if you have 3 drives already
This comment is awaiting moderation
Hi. Thanks for this tutorial. I have a drive on my machine (D:) which has extra space so I shrank my drive by 1 TB and it shows it as “unallocated” in disk management. I book into the USB stick and click “something else” but I do not see anything with “free space” for this. What could I be missing. Feel like throwing this PC out the window.
This comment is awaiting moderation
Try making your unallocated space into “Free Space” it should turn green then you should be good to install.
This comment is awaiting moderation
Sorry below comment is mine there is an unexpected typo error .
*With = without
This comment is awaiting moderation
With EFI partition how system will load gurb and detect both os. ? On which location gurb will install?
This comment is awaiting moderation
I’ve installed Pop!_OS on an external hard drive, and it runs, but only if secure boot is disabled. If I have to swap back to use windows (which I need for Photoshop and Lightroom), I have to turn secure boot back on every time, or else have to enter the bitlocker key. Is there a workaround for this?
This comment is awaiting moderation
I am installing Linux Mint Mate 19.3 on a new Dell XPS8930 system with Windows 10 already installed on a 450Gb SSD drive. When I shrink the SSD the free space does not show up in the Linux Mint Installation type. Secure Boot is off as is Fast Boot. Any ideas?
This comment is awaiting moderation
I have windows 10 installed on my 128gb SSD, which is almost full. I want to install ubuntu on my 1TB HDD, but while installing Linux, it is not showing the other drive at all, it’s just showing the SSD.
This comment is awaiting moderation
In the installer, there should be an option to select the disk. It is at the same page where you see the partitions.
This comment is awaiting moderation
i have elementry os running…
i need to re-install windows 10 nw(dual-boot)….
my laptop came pre installed with windows 10…
when i installed elementary os, I deleted everything pre-installed windows had except efi partition….but i created new efi partition for elementary os..
nw i have 2 efi partitions …one currently used by elementary os..and one doing nothing of windows 10(pre-installed).
Nw i have iso burned into usb, when i install windows 10 now..will it create efi partition newly.
This comment is awaiting moderation
Windows should take care of everything.
This comment is awaiting moderation
Had to delete multiple esp partitions and done!!
Everything went smooth ahead.
This comment is awaiting moderation
Hello sir, I use this comment “bcdedit /set “{bootmgr}” path EFIubuntugrubx64.efi” now none of OS appears to select for boot I lost my windows 10 boot option, my computer shows Dell logo then it stock on a blank screen please help me.
This comment is awaiting moderation
Go to the BIOS and choose Windows as boot manager. You can also go to recovery and fix boot from there.
This comment is awaiting moderation
Hello,have a nice month with a good health!I made the decision at last to try linux,i love this idea and enviroment…so i am totaly newbie and know less than i imagined..there are some questions i have to ask 1)how big will be the space that the linux will finaly run 2)i have an ssd 256gb that run windows 10 and 1 tb hdd drive that i got music,videos and minor backup 3) can i use some space in this hdd drive and keep the other files that i have been restored threre? 4)i see you mention some versions for window 10 ,what requirements you need for the latest one? 5)i recall that there is a mirror softwere or something like that,that you run in a window the linux version while you are log in with windows ,is this still compatible or easier in window 10 to use?…only those for now…thank you in advance !!
This comment is awaiting moderation
You can either install Linux entirely in the SSD or you make two partitions in both SSD and HDD. You put the root directory on the SSD so that it boots faster and you put the home directory on HDD.
This comment is awaiting moderation
this didnt work on a fresh desktop install on a hp laptop. i did the exe as admin at the end. still boots straight to windows :(
This comment is awaiting moderation
Please check your boot order in BIOS. Doe sit list anything about Ubuntu?
This comment is awaiting moderation
everything installed properly, safe mode is off etc, but when I restarted it went straight to windows. I can’t find ubuntu in UEFI settings, and when I tried the command for grub menu it did nothing. I’ve been researching this for hours now and I can’t seem to find any additional info beyond the grub menu command. at this point I’m thinking I can’t dual boot on this computer (lenovo yoga)? just got it yesterday. ubuntu was working fine when I tested it unlike my last laptop though so I don’t understand what the issue is.
This comment is awaiting moderation
Why double the RAM in the swap? Is it really necessary? I got limited available space.
This comment is awaiting moderation
No. You can leave out swap partition if you want. Ubuntu will automatically create a 2 GB swapfile for you.
This comment is awaiting moderation
I have used above steps but not able to run Ubuntu 20.0
I am able to see the same in Bios as boot option but when i try to run that it is not loading.
This comment is awaiting moderation
I’m changing boot order through command prompt (bcdedit /set “{bootmgr}” path EFIubuntugrubx64.efi Using this command)
but I’m getting Access denied error) what should I do now?
This comment is awaiting moderation
you have to run command prompt as admin
This comment is awaiting moderation
I was looking for such kind of a blog for long. Can this process be used to install Ubuntu 20.04 as well?
This comment is awaiting moderation
Yes, the same steps apply to Ubuntu 20.04 as well.
This comment is awaiting moderation
why not using alongside option ?
This comment is awaiting moderation
You can use that but this method gives you more control over where it gets installed.
This comment is awaiting moderation
After I installing the Ubuntu, should I change back the uefi settings and re-enable the secure boot?
This comment is awaiting moderation
You may do that. Normally it should be fine (it is for me) but if you face issues, disable it again.
This comment is awaiting moderation
i was able to install os successfully but after restart neither ubuntu is loading nor windows i am only getting this error “Default Boot Device Missing or Boot Failed. Insert Recovery Media and Hit any key Then select ‘Boot Manager’ to choose a new boot device”
This comment is awaiting moderation
Go to BIOS and see if you can see Windows boot manager. If yes, you can at least log into Windows. It seems that there is some issue with UEFI boot that went wrong.
This comment is awaiting moderation
I got a new Dell laptop with 256GB SSD hard drive having the Windows 10 OS and it also has another 1 TB SATA hard drive.
So, I tried to install ubuntu in the 1 TB hard drive.
While installing it, I got the error that “No EFI Partition was found” after I created the partitions for root /, Home and Swap Area.
After searching the Ubuntu help pages, I created another partition for EFI with 250MB size as suggested in that. And the installation was completed successfully.
But when the system was restarted, it was booting by default to the Ubuntu system and there was no sign of Grub loader with the dual boot options. So, I went to the BIOS menu, where I could see the UEFI Boot Options under which there was 1. Ubuntu and 2. Windows Boot Manager options.
When I chose the Windows Boot Manager, Windows was loading well without any problem.
Then upon restarting the computer, it was again booting to Ubuntu by default again. So, I tried to fix the boot options using the boot repair menu as given in the Ubuntu help documentation and community. But unfortunately, it didn’t work either.
As mentioned in this page, I gave the below command to fix the boot manager in Windows.
bcdedit /set “{bootmgr}” path EFIubuntugrubx64.efi
After that, the windows didn’t boot at all and was getting an error that no bootable device found.
Now, I have used the windows Install media and reinstalled the Windows freshly and Ubuntu got removed as well.
Could you please suggest, where I went wrong and how I can fix this?
Is it because ubuntu was installed in a different drive instead of the same drive where Windows OS is? Please suggest. Thanks!
This comment is awaiting moderation
You went wrong here: bcdedit /set “{bootmgr}” path EFIubuntugrubx64.efi
Do you have a separate EFI partition?
This comment is awaiting moderation
Hey!
Thank you!!!! I have now Ubuntu running correctly alongside Windows.
I partly followed your guide, I took it as my “main guide” and did some things differently.
I wanted to add some useful information: Ubuntu can now boot in UEFI, so it’s not necessary to disable the secure boot! :D
Some else, you may want to clarify in your guide about shrinking volume to do the partition. I am very beginner and I had to check other guides because you partly skipped the explanation of this step. I mean, it would be useful if you say that we can choose either to partition the whole free volume for Linux, or just 25 or 30GB… and show a screenshot of that step… following your guide, I felt insecure about going ahead on my own because it was the first time I did something like that and i was affraid of making some mistake…
All in all, thank you very much for the explanations!!!!!!!
This comment is awaiting moderation
I followed the instructions. I had exactly the same issue as the previous commenter.
This comment is awaiting moderation
Do you have a ssd and a hdd or multiple drives in your system? If so did you install the bootloader in the drive with windows or the other one? For me I had the same problem and had bootloader installed in HDD for Ubuntu while windows was in SSD. Going into boot options and booting into “Second HDD” may help.
This comment is awaiting moderation
Hi there!
Thank you for this very helpful guide! :)
I just have a question for the last step of the guide: when I finished installing ubuntu, I shut down my computer, I took out the USB key and I restarted it. At this point, I didn’t have the option to boot in either windows or ubuntu: it booted automatically in windows. I went to the bios and looked at the booting priority order and there was no ”ubuntu” booting option so I opened the admin command prompt and ran the line ”bcdedit /set “{bootmgr}” path EFIubuntugrubx64.efi”. After that there was a message in the command prompt saying: ”successfull operation” but then when I shut down the computer and start it again, I still don’t have the option to boot in either windows or ubuntu (it boots directly to windows).
Do you have any suggestion?
Thank you in advance for your time!
Théophile
This comment is awaiting moderation
All was good until I ran the last command:
bcdedit /set “{bootmgr}” path EFIubuntugrubx64.efi
After that I cannot boot to either Window or Ubuntu. Ubuntu is not a recognized option and Windows sends me into Dell’s SupportAssist with no option to boot to Windows.
This comment is awaiting moderation
You should not have used the command unless you were facing the issue of Ubuntu booting straight into Windows.
Anyway, you could try this: https://itsfoss.com/no-grub-windows-linux/
It may require bootable Windows disk.
This comment is awaiting moderation
hey, “bcdedit /set “{bootmgr}” path EFIubuntugrubx64.efi” kind of messed things up. I can no longer access my windows OS. Is there anyway, i can revert this action?
This comment is awaiting moderation
Instead of free space the unused memory is named as unusable and couldn’t perform any operation with it.
This comment is awaiting moderation
Followed this guide from beginning to end; ended with a “Boot device not found” Hard Disk 3F0 error. Any suggestions?
This comment is awaiting moderation
Hi there, I am wondering if you can help me. While already installing Ubuntu, I get the error: dev/sdc1 has been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should
reboot now before making further changes. Ignore/Cancel. Clicking on any of them is nothing. So I reboot manually and the system never boots again. Seems like the disk is not found anymore.
This comment is awaiting moderation
This command worked for me when the above did not
“`
bcdedit /set “{bootmgr}” path EFIubuntushimx64.efi
“`
This comment is awaiting moderation
Good evening.
I want to do this process, but I have a System 76 Galago Pro which already has Ubuntu installed, and every how to I have found, assumes that you are either starting with a Windows machine or a new hard drive. I need to know how to perform this procedure starting with Ubuntu installed and then installing Windows 10. Can you possibly help me with this?
Thank you.
This comment is awaiting moderation
windows will not recognize any os other than itself.
I suggest that you back up all of your files in Ubuntu, then format the hard drive and follow the instructions on how to do it from a blank disk
This comment is awaiting moderation
20 gb of root is not enough. I have problems .
This comment is awaiting moderation
Thank you
This comment is awaiting moderation
Ubuntu is not detecting my Windows 10 during Installation. What to do?
Thanks in advance.
This comment is awaiting moderation
Thank you a bunch. It all worked out perfectly
This comment is awaiting moderation
In regards to the secureboot in Windows 10. Is it possible to enable it again after the instalation? I read that Ubuntu, Fedora, Red Hat Enterprise Linux, and openSUSE currently support Secure Boot. So if I install one of this versions can I re-enable the secure boot?
This comment is awaiting moderation
Yes, you should be able to do that. If you encounter any issues in booting, disable it again.
This comment is awaiting moderation
I am an old man of 86, not knowing much of computer. I use Windows 10 operating system with printers 1)HP Laser Jet Professional P1108 and 2) HP Ink Tank 319 . Some space has been marked and Ubuntu has been introduced. But I fail to get Ubuntu recognize the printers which are not printing anything in Ubuntu. Please suggest a very easy way how to make the printers in Ubuntu set up.
This comment is awaiting moderation
Do you see any error, Mr. Das? It’s a modern printer and hence it should be automatically recognized. Just go to Settings->Printers and then if you are connected to the printer via USB or wireless, it should recognize the printer.
This comment is awaiting moderation
Thanks. I did all this on my ho probook 4430s. But after installation of more than 60% grub bootloader error popped up and screen got froze. Pls help me how to fix it.
This comment is awaiting moderation
When I dual booted W7 and UBUNTU a couple of years ago, I used Windows MBR as the primary boot and easybcd to set up the options of Windows or UBUNTU. This resulted in a pleasing UI option screen rather than the DOS like options when GRUB is used. I appreciate that easybcd cannot be used with UEFI but could Windows 10 be made the primary boot option when UEFI is employed?
Dave J
This comment is awaiting moderation
Hi,
I am a beginner and somehow i am getting a GRUB menu when i boot with Ubuntu. I am not able to continue after that.
Could someone help?